RadiusTheme\SB\Helpers\Fns D

Total Complexity 620
Dependencies 16
Dependents 177
Total lines 3,880
Lines of code 2,510
Logical lines of code 1,328
Comment lines 895
Methods 112
Properties 1

Methods 112

Method Rating Maintainability Complexity Lines of code
set_options()
D
29 41 113
get_social_share_html()
D
27
28 140
get_product_image_html()
C
33 28 88
custom_pagination()
C
39 25 53
create_page()
B
34 21 93
get_formatted_action_buttons()
B
42 16 51
get_product_rating_html()
A
43 15 45
enqueue_optimized_assets()
A
48 12 36
calculate_sale_percentage()
A
48 12 33
allowedHtml()
A
34 5 135
enqueue_module_assets()
A
44 10 47
find_theme_stylesheet_handle()
A
45 10 42
get_promo_badge()
A
50 10 28
dynamic_styles()
A
46 9 37
count_products_by_attribute_terms()
A
47 9 37
get_icon_html()
A
47 9 31
locate_template()
A
50 9 30
products_tags_query()
A
46 8 40
products_category_query()
A
46 8 40
get_all_attributes()
A
54 9 20
get_option()
A
58 9 14
get_all_terms()
A
50 8 28
get_post_types()
A
46 7 42
icons_manager()
A
51 8 26
product_filters_has_ajax()
A
52 8 23
get_action_button_by_type()
A
52 8 21
detect_context()
A
55 8 20
load_template()
S
49 7 29
get_terms()
S
50 7 29
get_prepared_product_id()
S
53 7 22
stripslashes_value()
S
55 7 18
is_new_product()
S
52 6 23
get_kses_array()
S
38 1 98
count_products_by_taxonomies()
S
55 6 18
is_shop_or_archive()
S
75 7 3
locate_asset()
S
58 6 15
is_visible_qty_input()
S
58 6 15
multiselect_settings_field_value()
S
59 6 14
get_registered_post_types()
S
48 4 39
get_image_sizes()
S
51 5 24
set_repeater_options()
S
53 5 23
get_all_user_roles()
S
54 5 20
get_badge_html()
S
56 5 19
renderView()
S
55 5 18
get_sale_badge()
S
56 5 18
product_has_applied_filters()
S
58 5 15
wpml_object_id()
S
59 5 14
get_post_custom_field_value()
S
62 5 11
get_brands_list()
S
54 4 23
text_truncation()
S
55 4 20
best_selling_products_ids()
S
50 3 31
get_product()
S
59 4 14
get_all_attributes_name()
S
62 4 12
setcookie()
S
61 4 11
get_modules_list()
S
57 3 18
get_widgets_list()
S
57 3 18
get_cached_gallery_ids()
S
57 3 17
free_layouts()
S
55 3 17
print_icon()
S
47 1 45
tax_filter_attr_taxonomy()
S
63 4 10
is_elementor_page()
S
64 4 10
get_options()
S
67 4 7
is_optimization_enabled()
S
63 4 9
pro_version_notice()
S
51 2 30
is_woocommerce()
S
78 4 3
insert_controls()
S
60 3 14
page_edit_with()
S
62 3 12
social_share_platforms_list()
S
49 1 39
get_validated_html_tag()
S
54 2 23
get_custom_icon_names()
S
49 1 37
get_categories_list()
S
56 2 22
optimized_handle()
S
68 3 7
flush_rewrite_rules()
S
66 3 9
check_is_block_theme()
S
73 3 4
get_pages()
S
64 3 10
verify_nonce()
S
65 3 8
get_options_by_default_val()
S
70 3 6
print_html()
S
65 3 10
set_theme_dependency()
S
64 3 10
removeSession()
S
66 3 8
get_users()
S
64 3 10
getSession()
S
69 3 6
setSession()
S
66 3 8
get_product_image()
S
65 3 9
get_product_swatches()
S
63 2 13
get_product_simple_rating_html()
S
62 2 11
check_plugin_installed()
S
74 2 4
check_plugin_active()
S
71 2 6
should_load_elementor_scripts()
S
65 2 9
get_optimized_handle_by_context()
S
68 2 7
is_contextual_loading()
S
73 2 4
get_available_products_by_ids()
S
66 2 9
get_nonce()
S
77 2 3
flush_rewrite_rules_once_more()
S
68 2 7
is_elementor_widget_active()
S
70 2 6
get_icons()
S
65 2 8
wpml_current_language()
S
71 2 5
getcookie()
S
70 2 6
woocommerce_output_all_notices()
S
69 2 7
is_guest_feature_disabled()
S
73 2 4
get_section_items()
S
71 2 6
is_module_active()
S
70 2 6
image_resize()
S
74 1 4
get_cat_list()
S
66 1 8
get_tax_list()
S
68 1 8
get_current_user_roles()
S
76 1 4
print_validated_html_tag()
S
79 1 3
get_elementor_breakpoints()
S
78 1 3
sanitize_file_name()
S
78 1 3
doing_it_wrong()
S
74 1 4
maybe_flush_rewrite_rules()
S
74 1 4
get_cookie_expiration()
S
77 1 3